package com.woniuxy.searchassembly.service;

import com.woniuxy.searchassembly.model.SightPoint;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Kevin Kwok
 * @since 2021-05-24
 */
public interface ISightPointService extends IService<SightPoint> {
    /*根据区域名字选出特定某个区的所有景点*/
    List<String> queryArea(String area);

    /*根据景点名称直接精确找到这个景区的经纬度*/
    SightPoint querySightInfo(String area);

    /*新增景区*/
    int addNewSights(SightPoint sightPoint);
}
